package com.example.demo.facade;

public class FacadeClient {
    BedRoomLight bedRoomLight = new BedRoomLight();
    HallLight hallLight = new HallLight();
    LivingRoomLight livingRoomLight = new LivingRoomLight();
    public void allLightOn() {
        bedRoomLight.on();
        livingRoomLight.on();
        hallLight.on();
    }
    public void allLightOff() {
        bedRoomLight.off();
        livingRoomLight.off();
        hallLight.off();
    }

}
